home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Amiga Plus Special 19
/
AMIGAplus Sonderheft 19 (1999)(ICP)(DE)[!].iso
/
Demoversionen
/
Anwendungen
/
Net_Connect
/
NC_2.2
/
Install
next >
Wrap
Text File
|
1999-03-08
|
9KB
|
303 lines
; Install script for NC v2.2 Update
;
; Copyright by Active Techologies (c) 1999
(procedure P_COPY_LIBS
(copylib (prompt "Updating the Contact Manager library." )
(help @copylib-help)
(confirm)
(source "libs/cmanager.library")
(dest "libs:")
(optional "askuser" "force")
)
(copylib (prompt "Installing the Vapor Toolkit library." )
(help @copylib-help)
(confirm)
(source "libs/vapor_toolkit.library")
(dest "libs:")
(optional "askuser" "force")
)
(copylib (prompt "Updating the NetConnectlibrary." )
(help @copylib-help)
(confirm)
(source "libs/netconnect.library")
(dest "libs:")
(optional "askuser" "force")
)
(copylib (prompt "Updating the X-Arc Tools library." )
(help @copylib-help)
(confirm)
(source "libs/xarctools.library")
(dest "libs:")
(optional "askuser" "force")
)
)
(procedure P_COPY_APPDEVICE
(if (= 0 #cpu-choice) (set #appp-name "appp.device"))
(if (= 1 #cpu-choice) (set #appp-name "appp.device.020"))
(if (= 2 #cpu-choice) (set #appp-name "appp.device.030"))
(if (= 3 #cpu-choice) (set #appp-name "appp.device.030"))
(if (= 4 #cpu-choice) (set #appp-name "appp.device.030"))
(copylib (prompt "Updating appp.device.")
(help @copylib-help)
(confirm)
(source (tackon "Devs/Networks" #appp-name))
(dest "Devs:networks/")
(newname "appp.device")
(optional "askuser" "force")
)
)
(procedure P_COPY_CATALOGS
(copyfiles (prompt "Updating the catalogs.")
(help @copyfiles-help)
(confirm)
(source "Catalogs")
(choices "Deutsch" "Italiano")
(dest "LOCALE:Catalogs")
)
)
(procedure P_COPY_CM
(if (exists "netconnect2:programs/cmanager/")
(copyfiles (prompt "Updating Contact Manager.")
(help @copyfiles-help)
(confirm)
(source "cmanager")
(all)
(dest "netconnect2:programs/cmanager/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Contact Manager.")
(help @copyfiles-help)
(confirm)
(source "cmanager")
(all)
(dest
(askdir
(prompt "Select the directory where Contact Manager is installed.")
(help @askdir-help)
(default "netconnect2:programs/cmanager/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_GENESIS
(if (exists "AmiTCP:")
(copyfiles (prompt "Updating Genesis.")
(help @copyfiles-help)
(confirm)
(source "genesis")
(all)
(dest "AmiTCP:" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Genesis.")
(help @copyfiles-help)
(confirm)
(source "genesis")
(all)
(dest
(askdir
(prompt "Select the directory where Genesis is installed.")
(help @askdir-help)
(default "AmiTCP:")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_MD
(if (exists "netconnect2:programs/microdot-ii/")
(copyfiles (prompt "Updating Microdot II.")
(help @copyfiles-help)
(confirm)
(source "microdot")
(all)
(dest "netconnect2:programs/microdot-ii/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating Microdot II.")
(help @copyfiles-help)
(confirm)
(source "microdot")
(all)
(dest
(askdir
(prompt "Select the directory where Microdot II is installed.")
(help @askdir-help)
(default "netconnect2:programs/microdot-ii/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_XARC
(if (exists "netconnect2:programs/x-arc/")
(copyfiles (prompt "Updating X-Arc.")
(help @copyfiles-help)
(confirm)
(source "X-Arc")
(all)
(dest "netconnect2:programs/X-Arc/" )
(optional "askuser" "force")
)
(copyfiles (prompt "Updating X-Arc.")
(help @copyfiles-help)
(confirm)
(source "x-arc")
(all)
(dest
(askdir
(prompt "Select the directory where X-Arc is installed.")
(help @askdir-help)
(default "netconnect2:programs/x-arc/")
)
)
(optional "askuser" "force")
)
)
)
(procedure P_COPY_MUI_CLASSES
(if (exists "MUI/Textinput.mcc")
(copylib
(prompt "Installing updated MUI classes... (Textinput.mcc)")
(help @copylib-help)
(source "MUI/Textinput.mcc")
(dest "MUI:Libs/MUI")
(confirm)
)
(copylib
(prompt "Installing updated MUI classes... (Textinput.mcp)")
(help @copylib-help)
(source "MUI/Textinput.mcp")
(dest "MUI:Libs/MUI")
(confirm)
)
(copylib
(prompt "Installing updated MUI classes... (Textinputscroll.mcc)")
(help @copylib-help)
(source "MUI/Textinputscroll.mcc")
(dest "MUI:Libs/MUI")
(confirm)
)
)
(if (exists "MUI/NList.mcc")
(copylib
(prompt "Installing updated MUI classes... (NList.mcc)")
(help @copylib-help)
(source "MUI/NList.mcc")
(dest "MUI:Libs/MUI")
(confirm)
)
(copylib
(prompt "Installing updated MUI classes... (NListview.mcp)")
(help @copylib-help)
(source "MUI/NListview.mcp")
(dest "MUI:Libs/MUI")
(confirm)
)
(copylib
(prompt "Installing updated MUI classes... (NListviews.mcp)")
(help @copylib-help)
(source "MUI/NListviews.mcp")
(dest "MUI:Libs/MUI")
(confirm)
)
(copylib
(prompt "Installing updated MUI classes... (NFloattext.mcc)")
(help @copylib-help)
(source "MUI/NFloattext.mcc")
(dest "MUI:Libs/MUI")
(confirm)
)
)
)
(procedure P_COPY_DOCS
(copyfiles (prompt "Updating docs.")
(help @copyfiles-help)
(confirm)
(source "Docs")
(all)
(dest "netconnect2:docs/" )
(optional "askuser" "force")
)
)
(procedure check-cpu-type
(transcript "checking CPU type")
(set #cpu-type (database "cpu"))
(if (= #cpu-type "68060")
(set #cpu-choice 4)
(if (= #cpu-type "68040")
(set #cpu-choice 3)
(if (= #cpu-type "68030")
(set #cpu-choice 2)
(if (= #cpu-type "68020")
(set #cpu-choice 1)
(set #cpu-choice 0)
)
)
)
)
(set #cpu-choice
(askchoice
(choices "68000" "68020" "68030" "68040" "68060")
(prompt "Please select which CPU " @app-name " will be running on.")
(help "Some parts of the " @app-name " package have been optimised for specific members of the 68000 processor family. "
"You should select the processor that " @app-name " will be running on so that the most appropriate programs will be used.")
(default #cpu-choice)
)
)
)
(
(message
"\n\n\nNetConnect\n"
"Update v2.2\n"
"\n(c) by Active Technologies 1999\n"
"\nhttp://www.active-net.co.uk"
)
(set @default-dest "NetConnect2:" )
(check-cpu-type)
(P_COPY_LIBS)
(P_COPY_APPDEVICE)
(P_COPY_MUI_CLASSES)
(P_COPY_GENESIS)
(P_COPY_XARC)
(P_COPY_CM)
(P_COPY_MD)
(P_COPY_CATALOGS)
(P_COPY_DOCS)
(exit)
)